// 地址样式
@import '@/common/styles/address/address.scss';

.container {
    padding-bottom: 100rpx;
}

.page-panel {
    margin: 24rpx 24rpx 0;
    background-color: $theme-panel-bg-color;
    border-radius: 16rpx;
    overflow: hidden;
}

.goods-section {
    @extend .page-panel;

    .goods-item {
        .goods-info {
            .goods-type {
                font-size: 24rpx;
                color: $theme-color-ghost-base;
                margin-top: 8rpx;
            }

            .goods-meta {
                margin-top: 24rpx;

                .goods-price-box {
                    .cut-price {
                        color: $theme-color-main-base;

                    }

                }

                .cut-num {
                    font-size: 24rpx;
                    color: $theme-color-ghost-base;
                }
            }
        }
    }

    .goods-total {
        padding-bottom: 30rpx;
        display: flex;
        justify-content: flex-end;
        margin-top: 20rpx;
        padding: 0 24rpx;
        font-size: $theme-size-base;
        color: $theme-color-main-base;

        .price {
            font-weight: bold;
            font-size: $theme-size-large-base;

            &::before {
                content: '￥';
                font-size: $theme-size-base;
            }
        }

        .decimal {
            font-weight: bold;

            &::before {
                content: '.';
                font-size: 28rpx;

            }
        }
    }
}


.price-section {
    @extend .page-panel;
    padding: 28rpx 24rpx 4rpx;
    font-size: 26rpx;
    color: $theme-color-main-base;

    .yt-list {
        margin-bottom: 20rpx;
        color: $theme-color-main-base;
    }



    .yt-list-cell {
        // padding: 10rpx 30rpx 10rpx 40rpx;
        // line-height: 70rpx;
        padding-bottom: 40rpx;
        position: relative;

        &.cell-hover {
            background: #fafafa;
        }

        &.b-b:after {
            left: 30rpx;
        }

        .cell-icon {
            height: 32rpx;
            width: 32rpx;
            color: #fff;
            text-align: center;
            border-radius: 4rpx;
            margin-right: 12rpx;
        }

        .cell-tit {
            color: #333333;
            margin-right: 10rpx;
        }

        .cell-tip {}

        .cell-right {
            color: $theme-color-base;
        }

    }
}



.footer {
    padding: 0 32rpx;
    position: fixed;
    left: 0;
    bottom: 0rpx;
    z-index: 995;
    width: 100%;
    height: calc(100rpx + var(--safe-area-inset-bottom));
    font-size: 30rpx;
    background-color: $theme-panel-bg-color;
    z-index: 998;
    box-shadow: 0 -2rpx 0 0 rgba(204, 204, 204, 0.5);
    display: flex;
    align-items: flex-start;

    .footer-box {
        width: 100%;
        height: 100rpx;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .price-total-box {
        display: flex;
        justify-content: flex-end;
        // align-items: center;
        font-size: $theme-size-base;

        .price-total-name {
            font-weight: 500;
            color: $theme-color-main-base;
        }

        .price-total-content {
            // display: flex;
            // align-items: flex-end;

            .price {
                font-weight: bold;
                font-size: $theme-size-large-base;

                &::before {
                    content: '￥';
                    font-size: $theme-size-base;
                }
            }

            .decimal {
                font-weight: bold;

                &::before {
                    content: '.';
                    font-size: $theme-size-base;
                }
            }
        }
    }

    .btn {
        font-size: $theme-size-base;
        background-color: #ffffff;
        border: 2rpx solid $theme-color-ghost-base;
        color: $theme-color-ghost-base;
        margin-left: 20rpx;
        border-radius: 40rpx;
        width: 216rpx;
        height: 80rpx;
    }

    .btn.full {
        font-weight: 500;
        border: none;
    }
    /* 余额充值 */
    &_ye {
        bottom: 10rpx;
        justify-content:center;
        align-items: center;
        box-shadow: 0 -2rpx 0 0 transparent;
        background-color: transparent;
    }
    .btn.size {
        width:702rpx;
        height:88rpx;
        margin-left: 0rpx;
        line-height:88rpx;
        border-radius: 6rpx;
    }
}